nasm -I boot/include/ -o build/mbr.bin boot/mbr.S
nasm -I boot/include/ -o build/loader.bin boot/loader.S
gcc -I lib/kernel/ -I lib/ -I kernel/ -c -fno-builtin -o build/main.o kernel/main.c 
nasm -f elf -o build/print.o lib/kernel/print.S 
nasm -f elf -o build/kernel.o kernel/kernel.S 
gcc -I lib/kernel/ -I lib/ -I kernel/ -c -fno-builtin -o build/interrupt.o kernel/interrupt.c 
gcc -I lib/kernel/ -I lib/ -I kernel/ -c -fno-builtin -o build/init.o kernel/init.c
ld -Ttext 0xc0001500 -e main -o build/kernel.bin build/main.o build/init.o build/interrupt.o build/print.o build/kernel.o

dd if=build/mbr.bin of=/home/jie/Desktop/bochs/hd60M.img bs=512 conv=notrunc count=1
dd if=build/loader.bin of=/home/jie/Desktop/bochs/hd60M.img bs=512 conv=notrunc count=4 seek=2
dd if=build/kernel.bin of=/home/jie/Desktop/bochs/hd60M.img bs=512 conv=notrunc count=200 seek=9
